package com.dreamwhale.machinery.user.service;

import com.dreamwhale.machinery.config.DataResult;
import com.dreamwhale.machinery.user.entity.YxUserBill;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户账单表 服务类
 * </p>
 *
 * @author Author
 * @since 2020-05-27
 */
public interface YxUserBillService extends IService<YxUserBill> {

    /**
     * @param : null
     * @return :
     * @MethodName : getUserBill
     * @Description : 查询个人交易记录
     * @Author : DragonUncle
     * @Data : 10:51 2020/6/30
     */
    DataResult getUserBill(Integer user, Integer page);

    /**
     * 添加收支记录
     *
     * @param yxUserBill
     * @return
     */
    int insertYxUserBills(YxUserBill yxUserBill);
}
